docker ps | grep zalenium &> /dev/null
if [ $? -ne 0 ]
then
	echo "zalenium is not up,we will start up it!!!"
   docker-compose -f /var/lib/jenkins/workspace/oschina_selenium_docker/oschina_docker.yaml up -d
#docker run -it --name zalenium -p 4444:4444 \
 #    -v /var/run/docker.sock:/var/run/docker.sock \
  #   -v zalenium-videos:/home/seluser/videos \
   #  --privileged jamesz2011/selenium-chrome-firefox-v1 start

else
	echo "zalenium is up!!!"
fi
